# enumeration of * .py files storage or folders is required.
files_to_fmt 	?= src main.py


## Format all
fmt: format
format: remove_imports isort black


## Remove unused imports
remove_imports:
	autoflake -ir --remove-unused-variables \
		--ignore-init-module-imports \
		--remove-all-unused-imports \
		${files_to_fmt}


## Sort imports
isort:
	isort ${files_to_fmt}


## Format code
black:
	black ${files_to_fmt}
